#include "stdafx.h"
#include "wf_zoomscroll.h"



WF_ZoomScroll::WF_ZoomScroll(LX_Define::Direction direction,
        PF_Container& container,
        PF_GraphicView& graphicView)
        :PF_ActionInterface("Zoom scroll", container, graphicView) {

    this->direction = direction;
}



void WF_ZoomScroll::trigger() {
    graphicView->zoomScroll(direction);
    finish();
}



void WF_ZoomScroll::init(int status) {
    PF_ActionInterface::init(status);
    trigger();
}

// EOF
